<#assign className = table.className>   
<#assign classNameLower = className?uncap_first>
<%@ page language="java" pageEncoding="utf-8" %>
<%@include file="/common/top.jsp" %>

<!DOCTYPE HTML >
<html>
<head>
    <base href="<%=basePath %>"/>

    <title>XX管理</title>

    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">
    <%@include file="/common/includejs_1.3.2.jsp" %>
    <script type="text/javascript">
        var isadd = "${r'${funmap.add}'}" == "1";
        var ismodify = "${r'${funmap.modify}'}" == "1";
        var isremove = "${r'${funmap.remove}'}" == "1";
        var sfunname = "${r'${sfunname}'}";
    </script>
    <script type="text/javascript" src="admin/${classLower}/${classLower}mgr/${classLower}mgr.js"></script>
</head>
<body style="overflow:hidden;">
<div id="user_div">
    <table id="${classNameLower}grid"></table>
    <div id="search_div">
        <form id="searchForm">
            <label>XX名称:</label>
            <input id="xx" name="xx">
            <label >YY:</label>
			<select id="yy" name="yy">
				<option value="0">全部</option>
				<option value="1">AA</option>
		    	<option value="2">BB</option>
				<option value="3">CC</option>
				<option value="4">DD</option>
			</select>
            <a class="easyui-linkbutton" id="searchBtn" iconCls="icon-search" plain="true">查询</a></form>
    </div>
    <div id="user_window" class="easyui-window" minimizable="false" maximizable="false" closable="false" closed="true"
         modal="true" title="XX管理" style="width:1072px;height:340px;overflow:hidden">
        <form action="" class="subform" method="post" id="${classNameLower}Form">
            <input type="hidden" id="user_nid" name="ncpid"/>
            <table>
        <#list table.notPkColumns as column> 
        <#if column.isDateTimeColumn>
		<tr>
            <td><label>${column.columnAlias!}:</label></td>
            <td width="158px"><input class="easyui-datetimebox" name="${column.columnNameLower}" id="${column.columnNameLower}" style="width:135px;"/>
					<span class="errorspan" id="user_suid_errorinfo" style="display:none;">
						<img alt="" src="./image/erroricon.png" id="user_suid_errorinfo_img" class="errorimg"/>
					</span>
            </td>
        </tr>
		<#else>
	    <tr>
            <td><label>${column.columnAlias!}:</label></td>
            <td width="158px"><input type="text" name="${column.columnNameLower}" id="${column.columnNameLower}" style="width:130px;"/>
					<span class="errorspan" id="user_suid_errorinfo" style="display:none;">
						<img alt="" src="./image/erroricon.png" id="user_suid_errorinfo_img" class="errorimg"/>
					</span>
            </td>
        </tr>	        
		</#if>
        </#list>
            
                <tr>
                    <td colspan="4" align="center" style="padding-top:8px;">
                        <div>
                            <a id="submitUserEdit" class="easyui-linkbutton" iconCls="icon-ok"
                               href="javascript:;">确认</a>
                            &nbsp;&nbsp;&nbsp;&nbsp;
                            <a id="cancelUserEdit" class="easyui-linkbutton" iconCls="icon-cancel" href="javascript:;">关闭</a>
                        </div>
                    </td>
                </tr>
            </table>
        </form>
    </div>


</div>
</body>
</html>
